addOverlayView

open fun addOverlayView(@NonNull overlayHost: ViewGroup, @NonNull overlay: View)(source)

Convenience method to add overlay to overlayHost's overlay and assign the disjointParent in the overlay hierarchy.

Parameters

overlayHost

The view to add an overlay to

overlay

The view to overlay onto overlayHost

See also